package com.cxxx.guns.modular.backend.common;

//
//                       _oo0oo_
//                      o8888888o
//                      88" . "88
//                      (| -_- |)
//                      0\  =  /0
//                    ___/`---'\___
//                  .' \\|     |// '.
//                 / \\|||  :  |||// \
//                / _||||| -:- |||||- \
//               |   | \\\  -  /// |   |
//               | \_|  ''\---/''  |_/ |
//               \  .-\__  '-'  ___/-. /
//             ___'. .'  /--.--\  `. .'___
//          ."" '<  `.___\_<|>_/___.' >' "".
//         | | :  `- \`.;`\ _ /`;.`/ - ` : | |
//         \  \ `_.   \_ __\ /__ _/   .-` /  /
//     =====`-.____`.___ \_____/___.-`___.-'=====
//                       `=---='
//
//
//     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
//               佛祖保佑         永无BUG
//

import com.cxxx.guns.modular.backend.model.Model;

import java.util.ArrayList;
import java.util.List;

/**
 * By CCZhang
 * Time: 2018/9/4:22:08
 */
public class Const {

    public static final String SERVER_URL = "http://140.143.166.110/upload/";

    public enum JiaXiaoStatusEnum{

        WEI_SHEN_HE(0, "未审核"),
        SHEN_HE_TONG_GUO(1, "审核通过"),
        SHEN_HE_SHI_BAI(2, "审核驳回");


        private int code;
        private String value;

        JiaXiaoStatusEnum(int code, String value) {
            this.code = code;
            this.value = value;
        }

        public int getCode() {
            return code;
        }

        public String getValue() {
            return value;
        }
    }



    public enum ImageCategoryEnum{

        SHOU_YE_LUN_BO(1, "首页轮播"),
        DA_MEI_CHEN_XIN(2, "大美晨星");


        private int code;
        private String value;

        ImageCategoryEnum(int code, String value) {
            this.code = code;
            this.value = value;
        }

        public int getCode() {
            return code;
        }

        public String getValue() {
            return value;
        }
    }

    public static List<Model> getModelList(){
        Model model;
        List<Model> list = new ArrayList<>();
        model = new Model(1,"校园动态");
        list.add(model);
        model = new Model(2,"通知公告");
        list.add(model);
        model = new Model(3,"家校互动");
        list.add(model);
        model = new Model(4,"政务公开");
        list.add(model);
        model = new Model(5,"校务公开");
        list.add(model);
        model = new Model(6,"德育园地");
        list.add(model);
        model = new Model(7,"国旗下讲话");
        list.add(model);
        model = new Model(8,"制度文件");
        list.add(model);
        model = new Model(9,"党工团园地");
        list.add(model);
        model = new Model(10,"健康之友");
        list.add(model);
        model = new Model(11,"书香校园");
        list.add(model);
        model = new Model(12,"团队在线");
        list.add(model);
        model = new Model(13,"主题活动");
        list.add(model);
        model = new Model(14,"卫生角");
        list.add(model);
        model = new Model(15,"教学动态");
        list.add(model);
        model = new Model(16,"教育科研");
        list.add(model);
        model = new Model(17,"校本培训");
        list.add(model);
        model = new Model(18,"教学反思");
        list.add(model);
        model = new Model(19,"读书工程");
        list.add(model);
        model = new Model(20,"党建在线");
        list.add(model);
        model = new Model(21,"招生政策");
        list.add(model);
        model = new Model(22,"评估督导");
        list.add(model);
        model = new Model(23,"教师频道");
        list.add(model);
        return list;

    }



}
